﻿using UnityEngine;
using System.Collections;

public class TeamCardBlank : MonoBehaviour {
	[HideInInspector]
	public DeckEditSceneManager editManager;
	
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	
	void OnPress(bool pressed)
	{
		Debug.Log("OnPress");
		if( CSceneManager.m_Scene == SCENE.DeckEditScene )
		{
			if(!pressed)
				editManager.isDragging = false;
		}
	}
	
	void OnDrag(Vector2 delta)
	{
		Debug.Log("OnDrag");
		if( CSceneManager.m_Scene == SCENE.DeckEditScene )
		{
			editManager.Drag(0, delta); 
		}
	}
}
